package customization;

public class Constants {

	public static final String yagoPath="/Users/adi/Dropbox/YAGO/yago2core_jena_20120109/";
	public static final String projectDirectory="/Users/adi/Dropbox/ClementThesis/Nico-Data/";
	 
	public static final String dirToFunctions=projectDirectory;
	public static final String pathToCallResults=projectDirectory+"getArtistByName/";
	
	public static final String fileWithInputsForCalls=projectDirectory+"singers.txt";
	public static final String fileWithInputsAndEntities = projectDirectory+"singers_entities.txt";
	
	public static final String separatorForInputsFiles="-->";
	public static final String separatorSpace="\\s+";
	public static final int maxRounds=1;
	
	public static final String fileWithTheURLsOfTheFunctions=projectDirectory+"urls.txt";
	public static final String fileWithTheInputTypesOfTheFunctions=projectDirectory+"input-types.txt";
	
	
	public static final String getFileWithInputsForType(String type){
		
		/* For Mary: modify this once you have created writers_entities.txt */
		if(type.equalsIgnoreCase("writers")) return projectDirectory+type+".txt";
		
		return projectDirectory+type+"_entities.txt";
	}
	
	public static final String getHistoryOfCallsFileForFunction(String site, String function){
		return projectDirectory+site+"/"+"calls_"+function+".txt";
	}
	
	public static final String fileIODependencies=projectDirectory+"ioDependencies.txt";
	public static final String functionalityYago = projectDirectory + "functionality_predicates.xml";
	
	public static final boolean filterWorkingSet=true;
	public static final String[] workingSetWebSites= new String[] {"music_brainz","last_fm", "deezer", "discogs", "echonest", "musixmatch", "isbndb", "library_thing"};
	
	/** words to be used in the file storing history/cache of the calls **/
	public static final String VALID="OK";
	public static final String INVALID="INVALID";
	
	/** percentages and lower set sizes to be used for statistical computations **/
	public static final int lowerSetSizeForStatistics=20;
	public static final float fiftyPerCent=((float)50)/100;
	
	public static final boolean debugMessages=true;
	public static final boolean offline=false;
	
}
